home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / Install / program files / Borland / BDS / 3.0 / Demos / Delphi.Net / CLR / ProcessViewer / ProcessChecker.dpr < prev    next >
Encoding:
Text File  |  2004-10-22  |  4.0 KB  |  89 lines

  1. program ProcessChecker;
  2.  
  3. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.dll'}
  4. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.Data.dll'}
  5. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.Drawing.dll'}
  6. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.Windows.Forms.dll'}
  7. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.XML.dll'}
  8. {$R 'MainForm.TMainForm.resources' 'MainForm.resx'}
  9. {$R 'AboutForm.TAboutForm.resources' 'AboutForm.resx'}
  10. {$R 'ProcessDetailsForm.TProcessDetailsForm.resources' 'ProcessDetailsForm.resx'}
  11. {$R 'SetupForm.TSetupForm.resources' 'SetupForm.resx'}
  12.  
  13. uses
  14.   System.Reflection,
  15.   System.Runtime.CompilerServices,
  16.   System.Windows.Forms,
  17.   SetupForm in 'SetupForm.pas' {SetupForm.TSetupForm: System.Windows.Forms.Form},
  18.   AboutForm in 'AboutForm.pas' {AboutForm.TAboutForm: System.Windows.Forms.Form},
  19.   MainForm in 'MainForm.pas' {MainForm.TMainForm: System.Windows.Forms.Form},
  20.   ProcessCheckerClass in 'ProcessCheckerClass.pas',
  21.   ProcessCheckerSettings in 'ProcessCheckerSettings.pas',
  22.   ProcessClasses in 'ProcessClasses.pas',
  23.   ProcessDetailsForm in 'ProcessDetailsForm.pas' {ProcessDetailsForm.TProcessDetailsForm: System.Windows.Forms.Form};
  24.  
  25. //
  26. // General Information about an assembly is controlled through the following
  27. // set of attributes. Change these attribute values to modify the information
  28. // associated with an assembly.
  29. //
  30. [assembly: AssemblyTitle('Process Checker')]
  31. [assembly: AssemblyDescription(
  32.   'Utility to monitor whether specified processes are running, ' +
  33.   'and restart them if necessary. ' + #13#10#10 + 'Dependant processes can be ' +
  34.   'associated with each monitored process, and these dependants ' +
  35.   'will be terminated before the monitored process is restarted.')]
  36. [assembly: AssemblyConfiguration('')]
  37. [assembly: AssemblyCompany('')]
  38. [assembly: AssemblyProduct('')]
  39. [assembly: AssemblyCopyright('')]
  40. [assembly: AssemblyTrademark('')]
  41. [assembly: AssemblyCulture('')]
  42.  
  43. //
  44. // Version information for an assembly consists of the following four values:
  45. //
  46. //      Major Version
  47. //      Minor Version 
  48. //      Build Number
  49. //      Revision
  50. //
  51. // You can specify all the values or you can default the Revision and Build Numbers 
  52. // by using the '*' as shown below:
  53.  
  54. [assembly: AssemblyVersion('1.0.0.1')]
  55.  
  56. //
  57. // In order to sign your assembly you must specify a key to use. Refer to the 
  58. // Microsoft .NET Framework documentation for more information on assembly signing.
  59. //
  60. // Use the attributes below to control which key is used for signing. 
  61. //
  62. // Notes: 
  63. //   (*) If no key is specified, the assembly is not signed.
  64. //   (*) KeyName refers to a key that has been installed in the Crypto Service
  65. //       Provider (CSP) on your machine. KeyFile refers to a file which contains
  66. //       a key.
  67. //   (*) If the KeyFile and the KeyName values are both specified, the 
  68. //       following processing occurs:
  69. //       (1) If the KeyName can be found in the CSP, that key is used.
  70. //       (2) If the KeyName does not exist and the KeyFile does exist, the key 
  71. //           in the KeyFile is installed into the CSP and used.
  72. //   (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
  73. //       When specifying the KeyFile, the location of the KeyFile should be
  74. //       relative to the project output directory which is
  75. //       %Project Directory%\bin\<configuration>. For example, if your KeyFile is
  76. //       located in the project directory, you would specify the AssemblyKeyFile 
  77. //       attribute as [assembly: AssemblyKeyFile('..\\..\\mykey.snk')]
  78. //   (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
  79. //       documentation for more information on this.
  80. //
  81. [assembly: AssemblyDelaySign(false)]
  82. [assembly: AssemblyKeyFile('')]
  83. [assembly: AssemblyKeyName('')]
  84.  
  85. [STAThread]
  86. begin
  87.   Application.Run(TMainForm.Create);
  88. end.
  89.